<!DOCTYPE html>
<html lang="en">
<head>
<base href="" />
  <meta charset="UTF-8">
  <title>车队档案</title>
  <link type="text/css" rel="stylesheet" href="../static/css/bootstrap.min.css"/>
  <link type="text/css" rel="stylesheet" href="../static/css/bootstrap-responsive.min.css"/>
  <link type="text/css" rel="stylesheet" href="../static/css/bootstrap-datetimepicker.min.css"/>
  <link type="text/css" rel="stylesheet" href="../static/css/common.css"/>
  
  <script type='text/javascript' src='../static/js/jquery-1.10.2.min.js'></script>
  <script type='text/javascript' src='../static/js/bootstrap.min.js'></script>
  <script type='text/javascript' src='../static/js/bootstrap-datetimepicker.js'></script>
  <script type='text/javascript' src='../static/js/bootstrap-datetimepicker.zh-CN.js'></script>
  <script type='text/javascript' src='../static/js/messageContent.js'></script>
  <script type='text/javascript' src="../static/js/common.js"></script>
  <script type='text/javascript' src='../static/js/page.js'></script>
  <script type='text/javascript' src="../static/js/carTeam.js"></script>
  <script type='text/javascript' src="../static/table/carTeamTable.js"></script>
</head>
<body>
  <div class="ablosulteDiv">
	<div class="top">
		<h4 class="partTitle">
			当前位置: 车辆 <span class="comSpanTitle">></span>车队档案
		</h4>
	</div>
	<div class="blueBorder"></div>
	<div class="scrollBody">
		<div class="partWhite paddingBottomTen" id="scrollHeight">
			<form class="form-horizontal" id="carTeamSearch">
				<input id="rows" name="rows" hidden="hidden" value="10">
				<input id="page" name="page" hidden="hidden" value="1">
				<div class="form-group">
					<div class="col-md-3 col3ConditionAll">
						<label for="teamName" class="col-sm-4 control-label partConditionTitle">车队名称</label>
						<div class="col-sm-8 partCondition">
							<input name="TeamName" id="teamName" maxlength="20" class="form-control"/>
						</div>
					</div>
					<div class="col-md-3 col3ConditionAll">
						<label for="BranchCompanyID" class="col-sm-4 control-label partConditionTitle">运营公司</label>
			            <div class="col-md-8 partCondition">
			                <select id="BranchCompanyID" name="BranchCompanyID" class="form-control" onchange='changeSubBranchCompany()'>
			                    <option value='' selected="selected">请选择</option>
			                </select>
			            </div>
		            </div>
					<div class="col-md-3 col3ConditionAll" id="changeSub" hidden="hidden">
						<label for="SubBranchCompanyID" class="col-sm-4 control-label partConditionTitle">运营分公司</label>
						<div class="col-md-8 partCondition">
							<select id="SubBranchCompanyID" name="SubBranchCompanyID" class="form-control">
								<option value='' selected="selected">请选择</option>
							</select>
						</div>
					</div>
				</div>
				<div class="form-group">
					<div class="col-md-3 partCondition">
						 <button type="button" onclick="search()" class="btn btnDefault marginLeft2ten">
			     			<img src="../static/images/search2.png" height="20" width="20"/>
			       	 		查询
	       				 </button>
						<button type="reset" onclick="resetSearch()" class="btn btnReset marginLeft2ten">
			     			<img src="../static/images/resultPng.png" height="20" width="20"/>
			       	 		重置
	       				 </button>
					</div>
				</div>
			</form>
		</div>
		<div class="partWhite">
			<div class="comHtmlTitle"><span class="borBlue"></span>车队信息档案—列表
				<div class="floatRight">
					<button type="button" onclick="save()" class="btn btnSaveDel">
	     			<img src="../static/images/saveBtn.png" height="20" width="20"/>
	       	 		添加
     			</button>
     			<button type="button" onclick="del()" class="btn btnSaveDel">
	     			<img src="../static/images/deleteBtn.png" height="20" width="20"/>
	       	 		批量删除
     			</button>
				</div>
				<div class="partTable">
					<table class="table table-hover" id="carTeamTable">
						<thead id="carTeamThead">
						</thead>
						<tbody id="carTeamTbody">
						</tbody>
					</table>
					<table class="table scrollTable" id="carTeamTable1" hidden="hidden">
       				</table>
				</div>
				<div class="partBtn">
					<div class="partTurnPage">
						<ul class="list-inline">
							<li id="total"></li>
							<li class="turnPage"></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
  </div>
  <!-- 添加弹出框 -->
  <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="save" tabindex="-1" class="modal fade popup">
	<div class = "popupTable">
	  <div class="modal-header titleAll">
		<button type="button" class="close" data-dismiss="modal" aria-label="Close">
		  <span aria-hidden="true" class="close">&times;</span>
		</button>
		<h4 class="modal-title" id = "title"></h4>
	  </div>
	  <form id="saveForm">
		<div class="transverseLine"></div>
		<div class="modal-body">
		  <div class="modal-header title"><strong>基本信息</strong></div>
		  <table class="table table-hover">
			<thead id="detailThead">
			</thead>
			<tbody id="detailTbody">
			</tbody>
		  </table>
		</div>
	  </form>
	  <div class="modal-footer">
		<button id="confirm" type="button" class="btn btn-primary" onclick="$ajax(getUrl, 'saveForm', saveCarTeam, confirm)">确定</button>
		<button type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
	  </div>
    </div>
  </div>
</body>
</html>